//
//  Utility.h
//  test
//
//  Created by 朱圳 on 2018/1/9.
//  Copyright © 2018年 朱圳. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MBProgressHUD.h"

#define SHOW_HUD [MBProgressHUD showHUDAddedTo:self.view animated:YES]
#define HIDE_HUD [MBProgressHUD hideHUDForView:self.view animated:YES]
@interface Utility : NSObject

//提示正确
+(void)showSuccess:(NSString *)msg;
//提示警告
+(void)showFail:(NSString *)msg;
//时间转时间戳
+ (NSString *)getTimeStrWithString:(NSString *)str;

// 时间戳转时间,
+ (NSString *)getDateStringWithTimeStr:(NSString *)str;

@end
